#ifndef __RGB_LCD_H__
#define __RGB_LCD_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "includes.h"

typedef struct {
  int (*init)();
  void (*display_enable)(bool enable);
  void (*write_pixel)(uint16_t x, uint16_t y, uint16_t color);
  uint16_t (*read_pixel)(uint16_t x, uint16_t y);
  void *driver;
} rgb565_lcd_desc_t;

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __RGB_LED_H__ */